﻿using xjjxmm.infrastructure.repository.attribute;

namespace XjjXmm.Message.Service.Model;

[XjjXmmTable("MESSAGE_ENTITY")]
public class MessageEntity
{
    [XjjXmmColunm(ColumnName = "ID", IsPrimaryKey = true)]
    public string Id { get; set; } 

    [XjjXmmColunm(ColumnName = "MESSAGE")]
    public string Message { get; set; } 

    [XjjXmmColunm(ColumnName = "PUSH_DATE")]
    public DateTime PushDate { get; set; } 

    [XjjXmmColunm(ColumnName = "TOPIC_CODE")]
    public string TopicCode { get; set; } 
}
